<form action="../Ponentes/editar" method="post" class="form-horizontal" >
	<div class="panel panel-primary" style="width:60%; margin:40px auto;">
		<div class="panel-heading">
    		<h3 class="panel-title" style="text-align:center;font-weight:bold;">EDITAR PONENTE</h3>
		</div>
		<div class="panel-body">
			<div class="form-group">
	    		<label style="text-align:right;" for="input1" class="col-lg-2 control-label">Nombre</label>
	    		<div class="col-lg-10">
	      			<input name="data[Ponente][nombre]" type="text" class="form-control" id="input1" placeholder="Nombre" value="<?php echo $ponente['Ponente']['nombre']; ?>" >
	      			<input name="data[Ponente][id]" type="hidden" class="form-control" id="input1" placeholder="ID" value="<?php echo $ponente['Ponente']['id']; ?>">
	    		</div>
	  		</div>
	  		<div class="form-group">
			    <label style="text-align:right;" for="input2" class="col-lg-2 control-label">Apellido</label>
	    		<div class="col-lg-10">
	    			<input name="data[Ponente][apellido]" type="text" class="form-control" id="input2" placeholder="Usuario" value="<?php echo $ponente['Ponente']['apellido']; ?>">
	    		</div>
	  		</div>
	  		<div class="form-group">
	    		<label style="text-align:right;" for="input3" class="col-lg-2 control-label">DNI</label>
	    		<div class="col-lg-10">
	      			<input name="data[Ponente][dni]" type="text" class="form-control" id="input3" placeholder="Contraseña" maxlength="8"  value="<?php echo $ponente['Ponente']['dni']; ?>">
	    		</div>
	  		</div>
	  		<input style="float: right;margin-left: 15px;" type="submit" class="btn btn-info" value="Guardar"/>
	  		<button style="float: right;" type="button" class="btn btn-default" onclick="window.history.back()">Cancelar</button>
  		</div>
	</div>
</form>